package cn.com.yiqi.wsc.service.task;

import cn.com.yiqi.wsc.service.order.impl.OrderServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author 何刚
 * @version V1.0
 * @Title: OrderTask
 * @Package cn.com.yiqi.wsc.service.task
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @date 2017/4/1
 */
@Component("orderTask")
public class OrderTask {

    @Value("#{APP_PROP['order.confirm.day']}")
    private Integer comfirmOrderDay;

    @Autowired
    private OrderServiceImpl orderService;


    public void confirmOrderTask() {

        orderService.comfirmOrderTask(comfirmOrderDay);

    }


}